package com.example.administrator.fangbook.importlocal.fragment;

import android.os.Bundle;

import com.example.administrator.fangbook.HtlMvp.fragment.BaseMvpFragment;
import com.example.administrator.fangbook.R;
import com.example.administrator.fangbook.importlocal.bean.FileNode;
import com.example.administrator.fangbook.importlocal.fragment.presenter.ImportLocalPresenter;
import com.example.administrator.fangbook.importlocal.fragment.view.ImportLocalView;

import java.util.ArrayList;

public class ImportLocalFileFragment extends BaseMvpFragment<ImportLocalView, ImportLocalPresenter> implements ImportLocalView {


    public static ImportLocalFileFragment getFragment(Bundle bundle) {
        ImportLocalFileFragment fragment = new ImportLocalFileFragment();
        if (bundle != null) {
            fragment.setArguments(bundle);
        }
        return fragment;
    }

    @Override
    protected ImportLocalPresenter bindMvpPresenter() {
        return new ImportLocalPresenter();
    }

    @Override
    protected ImportLocalView bindMvpView() {
        return this;
    }

    @Override
    protected void initFragment(Bundle arguments) {

    }

    @Override
    protected int getLayoutID() {
        return R.layout.import_local_file_layout;
    }

    @Override
    public void setAdapter(ArrayList<FileNode> mFileNodes) {

    }
}
